package com.ssy.lingxi.order;

import com.ssy.lingxi.order.handler.config.FeignConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
* 订单服务启动类
* @author 万宁
* @date 2021-07-15
*/
@EnableFeignClients(basePackages = {"com.ssy.lingxi.product.api.feign", "com.ssy.lingxi.search.api.feign", "com.ssy.lingxi.report.api.feign", "com.ssy.lingxi.workflow.api.feign", "com.ssy.lingxi.contract.api.feign", "com.ssy.lingxi.after.sale.api.feign", "com.ssy.lingxi.member.merchant.api.feign.inner", "com.ssy.lingxi.message.api.feign", "com.ssy.lingxi.pay.api.feign", "com.ssy.lingxi.transaction.api.feign", "com.ssy.lingxi.logistics.api.feign", "com.ssy.lingxi.feign", "com.ssy.lingxi.marketing.api.feign", "com.ssy.lingxi.platform.template.api.feign.inner","com.ssy.lingxi.purchase.api.feign"}, defaultConfiguration = FeignConfiguration.class)
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EnableAsync
@SpringBootApplication
public class OrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }

}
